package com.fanqwz.kotlinmvvm.common.util

/**
 * Created by fanqwz on 2017/11/1.
 */

// use ?.let{ } instead
//inline fun <T, R> T?.ifNoNull(f: (T) -> R): R? = if (this != null) f(this) else null